package com.dayuanit.dy15.spider.mapper;

import com.dayuanit.dy15.spider.entity.Navigation;
import org.apache.ibatis.annotations.Param;

public interface NavigationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Navigation record);

    int insertSelective(Navigation record);

    Navigation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Navigation record);

    int updateByPrimaryKey(Navigation record);

    Navigation getByName(@Param("navName") String navName, @Param("level") Integer level);
}